package com.fantastic.model.vo.lwf.app.orderdetails;

import com.fantastic.model.pojo.lwf.SetMeal;
import com.fantastic.model.pojo.zjs.Variety;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

/**
 * @author .FengYe.
 * @date 2024-06-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

@Accessors(chain = true)
public class OrderDetailsVo {

    /**
     * 订单 id
     */
    private String takeFoodNum;

    /**
     * 订单情况
     */
    private String orderStatus;

    /**
     * 菜品信息
     */
    private List<Variety> variety;

    /**
     * 套餐信息
     */
    private List<SetMeal> setMeal;

    /**
     * 实际付款
     */
    private BigDecimal oPrice;

    /**
     * 下单方式
     */
    private String oWay;

    /**
     * 下单时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTF-8")
    private LocalDateTime oTime;


}
